package com.sf.fy.uav.common.response.operational;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 响应
 *
 * @author 01430312
 */
@Data
public class ExpireOrUsedUserCouponResponse {


    private String id;

    @ApiModelProperty("优惠券名称")
    private String couponName;

    @ApiModelProperty("优惠券类型 0-满减券,1-满折券")
    private Byte couponType;

    @ApiModelProperty("折扣数")
    private BigDecimal discount;

    @ApiModelProperty("使用门槛 0-无门槛,1-有门槛")
    private Byte threshold;

    @ApiModelProperty("门槛金额")
    private BigDecimal thresholdAmount;

    @ApiModelProperty("生效时间")
    private Date effectiveTime;

    @ApiModelProperty("失效时间")
    private Date failureTime;

    @ApiModelProperty("不可使用原因:1.已使用，2.已过期")
    private Integer unavailableReason;


    @ApiModelProperty("优惠内容")
    private String description;
}
